#pragma once


class colorbar_wrapper : public CBCGPColorBar
{
	DECLARE_DYNAMIC(colorbar_wrapper)
public:
	colorbar_wrapper(void);
	~colorbar_wrapper(void);
		DECLARE_MESSAGE_MAP()
public:
	virtual void OnChangeHot (int iHot);
	void set_notify(HWND hwnd_, int index_ = 0)
	{
		notify_wnd_ = hwnd_;	
		pane_index_ = index_;
	}	
private:
	int  pane_index_;
	HWND notify_wnd_;
};

